<?php


namespace app\common\model;


use think\Model;

class VideoConfig extends Model
{
    protected $name="video_config";
    public  function getConfigByName($name)
    {
        return $this->where("name","=",$name)->field("url,status")->select();
    }
}